import { Button, Space } from '@mao-fu/sun-ui';
import React from 'react';

const App: React.FC = () => {
  return (
    <Space wrap>
      <Button
        loading={true}
        type="primary"
        onClick={() => {
          alert('click');
        }}
      >
        Click me
      </Button>
      <Button
        loading={true}
        type="secondary"
        onClick={() => {
          alert('click');
        }}
      >
        Click me
      </Button>
      <Button
        loading={true}
        type="tertiary"
        onClick={() => {
          alert('click');
        }}
      >
        Click me
      </Button>
      <Button
        loading={true}
        type="warning"
        onClick={() => {
          alert('click');
        }}
      >
        Click me
      </Button>
      <Button
        loading={true}
        type="danger"
        onClick={() => {
          alert('click');
        }}
      >
        Click me
      </Button>
    </Space>
  );
};

export default App;
